package com.dongnaoedu.rpc.redis.example;

import org.springframework.stereotype.Service;

import com.dongnaoedu.rpc.redis.annotation.RedisRpcEndpoint;
import com.dongnaoedu.rpc.redis.annotation.RedisRpcProducer;

/** 服务实现 */
@Service
@RedisRpcProducer
public class HelloServiceImpl implements HelloService {

	@RedisRpcEndpoint
	public String say(String content) {
		return "hello " + content;
	}

}
